###################
# LOADING
###################

# Need version 4.1.0 or later.
if (!"redist" %in% installed.packages()
        || packageVersion("redist") < "4.1.0") {
    remotes::install_github("alarm-redist/redist@dev", dependencies=TRUE)
}
library(redist) 

library(sf)
library(tidyverse)
library(geomander)
library(patchwork)
library(scales)
library(Rcpp)

here::i_am("R/00_setup.R")
library(here)

PAL = c("#CC79A7", "#E69F00", "#56B4E9", "#20B073", "#0072B2", "#D55E00", "#999999")

if (!dir.exists(here("figures/"))) {
    dir.create(here("figures/"))
}

